home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_usrdoc / METAMAIL / README.{_1 < prev   
Text File  |  1999-09-17  |  9KB  |  177 lines

  1. ****************************************************************
  2. Copyright (c) 1991 Bell Communications Research, Inc. (Bellcore)
  3.  
  4. Permission to use, copy, modify, and distribute this material 
  5. for any purpose and without fee is hereby granted, provided 
  6. that the above copyright notice and this permission notice 
  7. appear in all copies, and that the name of Bellcore not be 
  8. used in advertising or publicity pertaining to this 
  9. material without the specific, prior written permission 
  10. of an authorized representative of Bellcore.  BELLCORE 
  11. MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY 
  12. OF THIS MATERIAL FOR ANY PURPOSE.  IT IS PROVIDED "AS IS", 
  13. WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
  14. ****************************************************************
  15.  
  16. I. INTRODUCTION
  17.  
  18. This is a tree of files that will build the metamail program, which can
  19. be used to turn virtually any mail-reading program into a multimedia
  20. mail reader, as well as programs that will allow metamail to display
  21. several specific types of multimedia mail.
  22.  
  23. Metamail is an implementation of MIME, the Multipurpose Internet 
  24. Mail Extensions, a proposed standard for multimedia mail on the Internet.
  25. Metamail implements MIME, and also implements extensibility and
  26. configuration via the "mailcap" mechanism described in an informational
  27. RFC that is a companion to the MIME document.
  28.  
  29. II. BUILDING METAMAIL
  30.  
  31. To compile metamail and a few useful applications, just type "make" in 
  32. the top-level directory.  Note that you may need to change the line in 
  33. the top-level Makefile that defines the ATOMICMAIL constant.  
  34. This should be the empty string if you have the metamail distribution 
  35. WITHOUT the ATOMICMAIL software, and should be set to
  36. "atomicmail" if you have the fuller, more proprietary distribution.
  37.  
  38. II.a.  SITE CONFIGURATION
  39.  
  40. There are a few things that are site-configurable before the build.
  41. If you want to check them over, look in "config.h" in the top-level 
  42. directory.  Also, if you need to change the CFLAGS Makefile variable,
  43. you can just change it in the top-level Makefile and it will propogate
  44. to the subdirectories as long as you always do a top-level make instead
  45. of cd'ing to a subdirectory and typing make.  Similarly, you can change 
  46. the LDLIBS variable in the top-level Makefile and it will be passed 
  47. down automatically.    LDLIBS may be necessary in order to get the 
  48. gethostname() call to compile, in particular.  Users of System V or
  49. other systems without symbolic links should also remove the "-s"
  50. from the definition of "LN" in the top-level Makefile.  If you're using
  51. the non-ASCII fonts from the fonts directory, and you plan to install
  52. them in a system font directory, you'll probably want to change the value
  53. for MYFONTDIR in each of the '*.source" files in the "fonts" directory.
  54.  
  55. If you're using a version of UNIX that is System-V based but doe not 
  56. define "SYSV" as a C preprocessor constant, you'll need to add the line 
  57. "#define SYSV" near the top of config.h.  (One notable operating system 
  58. in this category is some versions of AIX.   However, config.h will 
  59. automatically turn on "SYSV" if "AIX" is defined, as it is in recent 
  60. releases of AIX.)
  61.  
  62. Finally, if you have the distribution that includes the ATOMICMAIL system, 
  63. there is a file called "site.h" in the top-level ATOMICMAIL directory, in which further customization is possible.
  64.  
  65. II.b.  THE DIRECTORY STRUCTURE
  66.  
  67. Although you probably don't need to know such details, the distribution comes 
  68. with 4 or 5 source directories:  "metamail" contains the metamail
  69. program itself.  "richmail" contains the programs for dealing with
  70. email's "richtext" format.  "ezview" contains a simple program for
  71. transforming Andrew-format mail to plain text.  "fonts" contains data
  72. and scripts for display non-ASCII mail bodies, about which more is 
  73. said in a special section below.   "misc" contains a 
  74. number of shell scripts for viewing images, audio, partial messages,
  75. external messages, etc., and rudimentary shell scripts for SENDING
  76. non-text mail.  Finally, if you have the version of the distribution that
  77. includes the ATOMICMAIL software, this is contained in the
  78. "atomicmail" subdirectory.
  79.  
  80. III.  INSTALLING THE METAMAIL BINARIES
  81.  
  82. The easiest way to build the system is "make install-all".  This should 
  83. install everything except the mailcap file in a reasonable place if you've 
  84. set the INSTROOT variable to point where you want the installation to be done.
  85.  
  86. For convenience, the make process installs SYMBOLIC 
  87. LINKS to all the needed binaries (or copies, in the case of shell 
  88. scripts) in the top-level "bin" directory, and man entries in the 
  89. top-level "man" directory.  
  90.  
  91. IV.  YOUR MAILCAP FILE
  92.  
  93. You'll also need to install a mailcap file.  A prototype mailcap file is 
  94. included in the top level directory, but you might want to modify it 
  95. (see metamail.1 for details about mailcap files).  
  96.  
  97. By default, the mailcap file should be installed in either /etc or 
  98. /usr/etc/ or /usr/local/etc.  However, you can easily 
  99. change this default location in the metamail source code.
  100. (This code is found in metamail/metamail.c.)
  101.  
  102. The Makefile is set up so that "make install-all" will install the prototype 
  103. mailcap file in $INSTROOT/etc, but this is unlikely to be both the ideal 
  104. makefile and the ideal location at many sites.
  105.  
  106. For testing purposes, on UNIX, you can install the mailcap file in your home 
  107. directory under the name ".mailcap".
  108.  
  109. If you have acquired the version of the metamail distribution that includes 
  110. the Bellcore "ATOMICMAIL" software, you should uncomment the appropriate 
  111. line in the prototype mailcap file in order to make it work.
  112.  
  113. V. MODIFYING YOUR MAIL-READING PROGRAMS
  114.  
  115. The hardest part of metamail installation, by far, is the modification of 
  116. your local mail-reading programs to make them use metamail for non-text 
  117. mail.  This has been done for over a dozen of the most commonly-used 
  118. UNIX mail reading programs.  An explanation of how to modify these mail
  119. readers can be found (in various formats) in the file(s) mailers.txt.
  120.  
  121. Once you have installed all the binaries AND the modified versions of 
  122. the mail-reading programs, you should have a very extensible multimedia 
  123. mail system installed at your site.  Metamail and related software are 
  124. discussed on the INFO-METAMAIL mailing list.  If you want to sign up for this
  125. mailing list, send mail to info-metamail-request@thumper.bellcore.com.
  126. If you do not wish to join the mailing list, but you DO want to know about 
  127. future releases of metamail, please send mail indicating this interest to 
  128. Nathaniel Borenstein <nsb@bellcore.com>
  129.  
  130. VI.  The "fonts" directory.
  131.  
  132. The fonts directory contains software for non-ASCII mail.  It initially only
  133. supports ISO-8859-8 (Hebrew) and an alias for a fairly common Adobe
  134. font that supports ISO-8859-1 (W. Europe), but also provides a template for
  135. how other character sets can be supported, given the right fonts.  NOTE THAT
  136.  IF YOU DO NOT USE X11 THE "fonts" DIRECTORY IS USELESS, AND 
  137. THAT IF YOU DO NOT HAVE "bdftosnf" INSTALLED THE BUILD
  138. MAY FAIL IN THE FONTS DIRECTORY.  FOR NON-X SITES, IF
  139. YOU GET RID OF ANY REFERENCE TO IT IN THE TOP LEVEL 
  140. MAKEFILE, IT WILL NEVER GET IN YOUR WAY. 
  141.  
  142. Note also that the "fonts" directory builds but does not install the snf, 
  143. fonts.alias, and fonts.dir files.  It builds a fe scripts that make
  144. reference the build directory.  If you are installing things elsewhere,
  145. you will need to change the path reference in the "*.source" scripts
  146. (the MYFONTDIR variable) if you want non-ASCII mail to work properly.
  147.  
  148. VII.  FUTURE VERSIONS OF METAMAIL
  149.  
  150. The metamail software is being given away freely by Bellcore in the
  151. interest of promoting a wide user community for the emerging
  152. Interent standards for multimedia mail.  The metamail software is by
  153. no means a finished product, nor is it as polished as software
  154. produced for commercial purposes.  It is our hope that users will
  155. be tolerant of any warts they may find, and will contribute their
  156. own improvements, via the INFO-METAMAIL mailing list, for incorporation
  157. into future releases of the metamail software.
  158.  
  159. VIII.  TESTING METAMAIL & MIME SUPPORT
  160.  
  161. If you want a set of test messages in MIME format, exercising various 
  162. features of mtamail and MIME, you may ftp them from thumper.bellcore.com,
  163. where there is a directory called "pub/nsb/samples".  Each file in
  164. that directory is a separate MIME-compliant message which should
  165. do something interesting if viewed with a metamail-modified mail-reader.
  166.  
  167. IX.  FURTHER DOCUMENTATION
  168.  
  169. Drafts of the MIME and mailcap documents are available in the
  170. pub/nsb directory on thumper.bellcore.com.  Other documents may also
  171. become available from time to time in that directory -- feel free to 
  172. browse.
  173.  
  174. The anonymous ftp directory from thumper is mirrored for the
  175. Scandinavian countries on  ftp.funet.fi, where it can be found in
  176.  /pub/unix/mail/metamail/-
  177.